public class TestHeap {
    public static void main(String[] args) {
        Heap heap=new Heap();
        int[] array={10,36,25,89,10,25,30,14,95,12};
        heap.init(array);
        heap.createHeap();
        heap.heapSort();
       // heap.offer(99);
        //System.out.println(heap.poll());
    }
}
